package com.fortune.dal.dao;

import com.fortune.dal.model.Cust;

import java.util.List;

public interface CustDAO {

    void insert(Cust cust) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(Cust cust) throws Exception;

    List<Cust> queryByModel(Cust cust) throws Exception;

    Cust queryById(Integer id) throws Exception;
}
